﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace WMSSystem.WYJ
{
    /// <summary>
    /// 销售货品明细表
    /// </summary>
    public class WYJ_GoodsforSale : AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 货品名称
        /// </summary>
        [MaxLength(100)]
        public string CommoditiesName { get; set; }

        /// <summary>
        /// 货品编码
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesCode { get; set; }

        /// <summary>
        /// 货品规格
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesGuike { get; set; }
        // <summary>
        ///单位
        /// </summary>

        public string UnitName { get; set; }
        /// <summary>
        /// 销售数量
        /// </summary>

        public int SalesNums { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int Output { get; set; }
    
        /// <summary>
        /// 入库数量
        /// </summary>
        public int Input { get; set; }

        /// <summary>
        /// 销售单价
        /// </summary>

        public decimal UnitPrice { get; set; }
        /// <summary>
        /// 销售金额
        /// </summary>

        public decimal SalesAmount { get; set; }
        /// <summary>
        /// 预设字段
        /// </summary>
        public string? PresetOne { get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public string? PresetTwo { get; set; }
        /// <summary>
        /// 预设字段
        /// </summary>
        public string? PresetThree { get; set; }
    }
}
